<template>
  <div class="about">
    <div class="bag-container">
      <div class="top-container">
        <div class="top-qrcode">
          <div class="top-left">
            <img src="../assets/111.jpg" alt="">
            <div class="top-right-text">组件操作系统</div>
          </div>
          <div class="top-right">
            <nav>
              <ul class="nav-links">
                <li>首页</li>
                <li>产品</li>
                <li>关于我们</li>
                <li>联系我们</li>
              </ul>
            </nav>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>


<script>
export default {
 data() {
 return {

 }
 },
 methods:{

 },
 components: {

 }
}
</script>

<style scoped>
.top-qrcode {
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直居中 */
}

.top-left {
  width: 300px;
  height: 50px;
  background-color: #bf5757;
  padding: 10px 10px;
  display: flex;
  align-items: center; /* 垂直居中 */
}

.top-left img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.top-right {
  width: 300px;
  height: 50px;
  background-color: #955757;
  padding: 10px 10px;
}

.top-right-text {
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  margin-left: 10px;
  line-height: 50px;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.nav-links li {
  margin: 0 10px;
  height:50px;
  line-height: 50px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}
</style>
